/* 内容审核表格数据源 */
export const examineTable = (status,page,size,articleTitle)=>{
  if(!articleTitle){
    return axios({
      url:`/cms/status/article/${status}/${page}/${size}`,
      method:'get'
    })
  }else{
    return axios({
      url:`/cms/status/article/${status}/${page}/${size}?articleTitle=${articleTitle}`,
      method:'get'
    })
  }
}

/* 高级查询 */
export const seniorSearch = (status,page,size,searchData)=>{
  return axios({
    url:`/cms/status/article/${status}/${page}/${size}?articleTitle=${searchData.articleTitle}&articleSubTitle=${searchData.articleSubTitle}&author=${searchData.author}&issueDate=${searchData.issueDate}&headingId=${searchData.headingId}`,
    method:'get'
  })
}
